.slider {
  width: 100%;
  margin: 0 auto;
  max-width: 500px;
  text-align: center;
  overflow: hidden;
  position: relative;

  &__slides {
    display: flex;
    transition: transform 0.3s ease;
  }
}

.slide {
  flex: 0 0 auto;
}

.active {
  opacity: 1;
  transform: scale(1);
}
